package com.designpattern.singleton;

/**
 * Created by bowen on 2018-10-09.
 */
public class Singleton {
    private static Singleton instance = new Singleton();
    private Singleton(){
    }

    public static Singleton getInstance(){
        return instance;
    }

    public void showMessage(){
        System.out.println("hello this !");
    }
}
